Nous > Adaptation
Suggest New Rule
Generated from cURL: curl -X POST http://localhost:3000/api/adapt/suggest \
-H "Content-Type: application/json" \
-d '{
"queryHash": "hash_of_search_query",
"patterns": {
"positivePatterns": ["good_result_pattern"],
"negativePatterns": ["bad_result_pattern"],
"neutralPatterns": ["neutral_pattern"]
},
"confidence": 0.85
}'
POST
Headers
Body
application/json · object
Response
200 - application/json
Successful response
The response is of type any
.